import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:mandoby/core/app_export.dart';
import 'package:mandoby/core/widgets/custom_elevated_button.dart';
import 'package:mandoby/core/widgets/custom_scaffold_widget.dart';
import 'package:mandoby/features/sign_in/presentation/pages/sign_in2.dart';
import 'package:nb_utils/nb_utils.dart';
import '../../../../core/widgets/app_bar/custom_app_bar.dart';
import '../../../../core/widgets/custom_bottom_bar.dart';
import '../../../../core/widgets/custom_text_form_field.dart';

class SignInScreen extends StatelessWidget {
  const SignInScreen({super.key});

  @override
  Widget build(BuildContext context) {
    return CustomScaffoldWidget(
        decoration: AppDecoration.gradientWhiteAToBlue900,
        appBar: const CustomAppBar(),
        navBar: CustomBottomBar(selectedIndex: 0),

        screenPadding: EdgeInsets.all(20.h),
        body: ListView(
          children: [
            Text(
              "من فضلك ادخل بياناتك للحجز و للتسجيل",
              style: CustomTextStyles.font20black66500,
            ),
            10.hs,
            Text(
              "الاسم الاول",
              style: CustomTextStyles.font20black66500
                  .copyWith(fontWeight: FontWeight.w400),
            ),
            20.hs,
            CustomTextFormField(
              hintText: "اكتب اسمك هنا",
              hintStyle: CustomTextStyles.font14black55400,
            ),
            30.hs,
            Text(
              "اسم العائلة",
              style: CustomTextStyles.font20black66500
                  .copyWith(fontWeight: FontWeight.w400),
            ),
            20.hs,
            CustomTextFormField(
              hintText: "اكتب اسم العائلة هنا",
              hintStyle: CustomTextStyles.font14black55400,
            ),
            30.hs,
            Text(
              "التليفون",
              style: CustomTextStyles.font20black66500
                  .copyWith(fontWeight: FontWeight.w400),
            ),
            20.hs,
            CustomTextFormField(
              hintText: "اكتب  رقم الموبايل الخاص بك",
              hintStyle: CustomTextStyles.font14black55400,
            ),
            30.hs,
            CustomElevatedButton(
              text: "التالي",
              onPressed: (){
                const SignIn2Screen().launch(context);
              },
              margin: EdgeInsets.symmetric(horizontal: 150.w),
              buttonStyle: const ButtonStyle(
                  backgroundColor: MaterialStatePropertyAll(Color(0xff019FE0))),
            )
          ],
        ));
  }
}
